﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using TicketMaster.Object;

namespace TicketMaster.Web.Models.Reservation
{
    public class ReservationStepOne
    {
        public Dictionary<int, City> Cities { get; set; }

        [Required(ErrorMessage = "Моля, изберете начален град")]
        public string FromCityID { get; set; }

        [Required(ErrorMessage = "Моля, изберете краен град")]
        public string ToCityID { get; set; }

        [Display(Name = "Начален град")]
        public List<SelectListItem> FromCities { get; set; }
        [Display(Name = "Краен град")]
        public List<SelectListItem> ToCities { get; set; }
    }
}